Give\PaymentGateways\PayPalCommerce\AjaxRequestHandler S

Total Complexity 41
Dependencies 14
Dependents 1
Total lines 393
Lines of code 200
Logical lines of code 102
Comment lines 114
Methods 11
Properties 6

Methods 11

Method Rating Maintainability Complexity Lines of code
onGetPartnerUrlAjaxRequestHandler()
A
48 8 32
getDonorAddressFromPostedDataForPaypalOrder()
S
60 8 12
removePayPalAccount()
S
52 4 25
createOrder()
S
47 3 39
onBoardedUserAjaxRequestHandler()
S
52 4 23
returnErrorOnFailedApproveOrderResponse()
S
61 4 12
onBoardingTroubleNotice()
S
53 2 27
validateFrontendRequest()
S
69 3 6
approveOrder()
S
62 2 11
validateAdminRequest()
S
74 2 5
__construct()
S
67 1 8